package com.hoshiicloud.user.param.company;

import com.hoshiicloud.common.query.PageParam;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel("附件类型分页查询或者集合入参")
public class AttachmentTypePageParam extends PageParam {

    @ApiModelProperty(name = "id", value = "ID", dataType = "java.lang.Long")
    private Long id;

    @ApiModelProperty(value = "租户ID", hidden = true)
    private Long companyId;

    @ApiModelProperty(name = "name", value = "附件名称", required = true, dataType = "java.lang.String", example = "XXX开发计划.xlsx")
    private String name;

    @ApiModelProperty(name = "required",value = "是否必须上传 1-必须 2-不限",required = true)
    private Integer required;

    @ApiModelProperty(name = "exampleGraph",value = "示例图",required = true)
    private String exampleGraph;

    @ApiModelProperty(name = "describe",value = "描述",required = true)
    private String describe;

    @ApiModelProperty(name = "enabled", value = "是否可用  0-可用 1-不可用", required = true, dataType = "java.lang.Integer", example = "0")
    private Integer enabled;

    @ApiModelProperty("是否删除: 0否 ; 1是")
    private Integer deleted;

    @ApiModelProperty("升序字段")
    private String ascField;

    @ApiModelProperty("降序字段")
    private String descField;
}
